//
//  DistanceCell2.m
//  Project6
//
//  Created by ToanDK on 11/29/12.
//  Copyright (c) 2012 DungNP. All rights reserved.
//

#import "DistanceCell2.h"


@implementation DistanceCell2
@synthesize segmentation;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

-(void)drawRect:(CGRect)rect{
    [super drawRect:rect];
    [self.contentView setBackgroundColor:[UIColor clearColor]];
    [self setBackgroundView:nil];
    [self setBackgroundColor:[UIColor clearColor]];
    
    segmentation.frame = CGRectMake(20, 5, 263, 30);
    UIFont *font = [UIFont boldSystemFontOfSize:13.0f];
    NSDictionary *attributes = [NSDictionary dictionaryWithObject:font
                                                           forKey:UITextAttributeFont];
    [segmentation setTitleTextAttributes:attributes
                                forState:UIControlStateNormal];
    
}

@end
